package com.atwork.wuhua.bean;

import java.util.List;

public class CommunityBean {
    private String name;
    private String code;
    private List<DataBean> dataBeans;

    public List<DataBean> getDataBeans() {
        return dataBeans;
    }

    public void setDataBeans(List<DataBean> dataBeans) {
        this.dataBeans = dataBeans;
    }

    public CommunityBean(String name, List<DataBean> dataBeans,String code) {
        this.name = name;
        this.dataBeans = dataBeans;
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static class DataBean {
        /**
         * id : 2
         * name : 约球吧
         * site_id : 1
         * thumb : http://192.168.1.102:10002/upload/banner/5bed19294a78b.jpg
         * url : https://www.baidu.com
         */

        private String id;
        private String name;
        private String site_id;
        private String thumb;
        private String url;
        private String type;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSite_id() {
            return site_id;
        }

        public void setSite_id(String site_id) {
            this.site_id = site_id;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
